home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 41.zip
/
BS1 part 41
/
Lattice C v5.02 d2.adf
/
CompactH
/
stdio.h
< prev
next >
Wrap
Text File
|
1988-11-07
|
2KB
|
58 lines
fileno_BUFSIZ 512BUFSIZ 512_NFILE 20
_iobuf
{
_iobuf*_next;
*_ptr;
_rcnt;
_wcnt;
*_base;
_size;
_flag;
_file;
_cbuff;
};
_iobuf _iob[];_IOFBF 0_IOREAD 1_IOWRT 2_IONBF 4_IOMYBUF 8_IOEOF 16_IOERR 32_IOLBF 64_IORW 128_IOAPP 0x4000_IOXLAT 0x80000L¢_iobufEOF (-1)stdin (&_iob[0])stdout (&_iob[1])stderr (&_iob[2])getc(p) (--(p)->_rcnt>=0?*(p)->_ptr++:_filbf(p))getchar()getc(stdin)putc(c,p) (--(p)->_wcnt>=0?(()(*(p)->_ptr++=(c))):_flsbf(()(c),p))putchar(c) putc(c,stdout)feof(p) (((p)->_flag&_IOEOF)!=0)ferror(p) (((p)->_flag&_IOERR)!=0)fileno(p) (p)->_filerewind(fp) fseek(fp,0L,0)fflush(fp) _flsbf(-1,fp)clearerr(fp) clrerr(fp)__ARGS°ª__ARGS(a) ()__ARGS(a) aprintf __builtin_printf
clrerr __ARGS((¢*));
fclose __ARGS((¢*));
fcloseall __ARGS(());
¢*fdopen __ARGS((,*));
fgetc __ARGS((¢*));
fgetchar __ARGS(());
*fgets __ARGS((*,,¢*));
flushall __ARGS(());
fmode __ARGS((¢*,));
¢*fopen __ARGS((*,*));
fprintf __ARGS((¢*,*,...));
_writes __ARGS((*,...));
_tinyprintf __ARGS((*,...));
fputc __ARGS((,¢*));
fputchar __ARGS(());
fputs __ARGS((*,¢*));
fread __ARGS((*,,,¢*));
¢*freopen __ARGS((*,*,¢*));
fscanf __ARGS((¢*,*,...));
fseek __ARGS((¢*,,));
ftell __ARGS((¢*));
fwrite __ARGS((*,,,¢*));
*gets __ARGS((*));
printf __ARGS((*,...));
puts __ARGS((*));
scanf __ARGS((*,...));
setbuf __ARGS((¢*,*));
setnbf __ARGS((¢*));
setvbuf __ARGS((¢*,*,,));
sprintf __ARGS((*,*,...));
sscanf __ARGS((*,*,...));
ungetc __ARGS((,¢*));
_filbf __ARGS((¢*));
_flsbf __ARGS((,¢*));
access __ARGS((*,));
chdir __ARGS((*));
chmod __ARGS((*,));
*getcwd __ARGS((*,));
mkdir __ARGS((*));
perror __ARGS((*));
rename __ARGS((*,*));
unlink __ARGS((*));
remove __ARGS((*));
rmdir __ARGS((*));absabs(x) ((x)<0?-(x):(x))maxmax(a,b) ((a)>(b)?(a):(b))min(a,b) ((a)<=(b)?(a):(b))